<div class="container-fluid">
  <div class="row">
    <div class="col-xs-6">
      <div
        pie-chart
        title="'扇形图'"
        data="dataPie"
        legend-icon="'circle'"
        radius="'70%'"
        close-tooltip="true"
        class="col-xs-5"
        style="min-height:500px;width: 400px;position:relative;"
      ></div>
      <div class="col-xs-1">
        <button
          class="btn btn-primary"
          ng-click="addPie()"
          style="margin: 10px 0;"
        >
          添加数据
        </button>
        <!--<button class="btn btn-primary" ng-click="reset()" style="margin: 10px 0;">重置</button>-->
      </div>
    </div>
    <div class="col-xs-6">
      <div
        pie-chart
        title="'环形图'"
        data="dataRing"
        is-ring="true"
        label-in-center="true"
        hover-animation="true"
        class="col-xs-4"
        style="min-height:500px;width: 400px;position:relative;"
      ></div>
      <div class="col-xs-1">
        <button
          class="btn btn-primary"
          ng-click="setData()"
          style="margin: 10px 0;"
        >
          添加数据
        </button>
        <!--<button class="btn btn-primary" ng-click="reset()" style="margin: 10px 0;">重置</button>-->
      </div>
    </div>
  </div>
</div>
